/****************************************************************************
** setManCls meta object code from reading C++ file 'setman.h'
**
** Created: Thu Aug 4 09:46:55 2011
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "setman.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.8. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *setManCls::className() const
{
    return "setManCls";
}

QMetaObject *setManCls::metaObj = 0;
static QMetaObjectCleanUp cleanUp_setManCls( "setManCls", &setManCls::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString setManCls::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "setManCls", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString setManCls::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "setManCls", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* setManCls::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = setManDlg::staticMetaObject();
    static const QUMethod slot_0 = {"saveSlot", 0, 0 };
    static const QUMethod slot_1 = {"loadSlot", 0, 0 };
    static const QUMethod slot_2 = {"deleSlot", 0, 0 };
    static const QUMethod slot_3 = {"nameSlot", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "saveSlot()", &slot_0, QMetaData::Public },
	{ "loadSlot()", &slot_1, QMetaData::Public },
	{ "deleSlot()", &slot_2, QMetaData::Public },
	{ "nameSlot()", &slot_3, QMetaData::Public }
    };
    static const QUParameter param_signal_0[] = {
	{ "n", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"saveSetting", 1, param_signal_0 };
    static const QUParameter param_signal_1[] = {
	{ "n", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_1 = {"loadSetting", 1, param_signal_1 };
    static const QUParameter param_signal_2[] = {
	{ "n", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_2 = {"deleSetting", 1, param_signal_2 };
    static const QMetaData signal_tbl[] = {
	{ "saveSetting(QString)", &signal_0, QMetaData::Public },
	{ "loadSetting(QString)", &signal_1, QMetaData::Public },
	{ "deleSetting(QString)", &signal_2, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"setManCls", parentObject,
	slot_tbl, 4,
	signal_tbl, 3,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_setManCls.setMetaObject( metaObj );
    return metaObj;
}

void* setManCls::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "setManCls" ) )
	return this;
    return setManDlg::qt_cast( clname );
}

// SIGNAL saveSetting
void setManCls::saveSetting( QString t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

// SIGNAL loadSetting
void setManCls::loadSetting( QString t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 1, t0 );
}

// SIGNAL deleSetting
void setManCls::deleSetting( QString t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 2, t0 );
}

bool setManCls::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: saveSlot(); break;
    case 1: loadSlot(); break;
    case 2: deleSlot(); break;
    case 3: nameSlot(); break;
    default:
	return setManDlg::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool setManCls::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: saveSetting((QString)static_QUType_QString.get(_o+1)); break;
    case 1: loadSetting((QString)static_QUType_QString.get(_o+1)); break;
    case 2: deleSetting((QString)static_QUType_QString.get(_o+1)); break;
    default:
	return setManDlg::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

bool setManCls::qt_property( int id, int f, QVariant* v)
{
    return setManDlg::qt_property( id, f, v);
}

bool setManCls::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
